package com.thememaker.lockstyle.bean.command;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by binghui.hang on 2018/2/23.
 * 通用命令，用来向外部程序发送命令
 * <ExternCommand command="命令名" numPara="参数1,数字表达式" strPara="参数2,字符串表达式"/>
 * <ExternCommand command="unlock"/>
 */
@XmlRootElement(name = "ExternCommand")
public class ExternCommand extends BaseCommand{
    private String command;
    private String numPara;
    private String strPara;

    @XmlAttribute(name = "command")
    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    @XmlAttribute(name = "numPara")
    public String getNumPara() {
        return numPara;
    }

    public void setNumPara(String numPara) {
        this.numPara = numPara;
    }

    @XmlAttribute(name = "strPara")
    public String getStrPara() {
        return strPara;
    }

    public void setStrPara(String strPara) {
        this.strPara = strPara;
    }
}
